package cn.com.service;

import cn.com.beans.PRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleService {

    boolean deleteByIds(@Param("ids") Integer...ids);

    boolean insert(PRole role);

    List<PRole> findAll(PRole PRole);

    List<PRole> findByAccountId(Integer accountId);

    PRole findByid(Integer id);

    boolean update(PRole role);



}
